package com.tbvtc.agriculturalcreditchainserver2025.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 物流订单
 * </p>
 *
 * @author shiyuhao
 * @since 2025-03-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("logistics_order")
@Schema(name="LogisticsOrder对象", description="物流订单")
public class LogisticsOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "ID,主键/订单号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "商品名称")
    private String cropName;

    @Schema(description = "是否预约")
    private Boolean isPreorder;

    @Schema(description = "数量")
    private Integer count;


}
